package com.xuxu.blog.service.slef;

import com.xuxu.blog.utils.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @className: RedisService
 * @author: Maxuxu
 * @date: 2022/8/22 21:45
 * @description: 通过redis获取数据的服务类
 */
@Service
public class RedisService {
    @Autowired
    RedisUtils redisUtils;

    /**
     * 获取当前的手机验证码
     */
    public void getSmsCode(String phone) {
        redisUtils.get("");
    }
}
